package com.example.routeplansystem.constant;


/**
 * 响应状态码
 * <p>
 * 0:成功; 1:参数错误; 2:没有登录; 3:文件传输数据错误; 4:第三方服务错误;  5:服务器运行错误;  6:用户操作错误
 */
public class ResponseStatus {

    public static final int SUCCESS = 0;
    public static final int PARMETER_INVALIATE = 1;
    public static final int AUTHENTATION_FIAL = 2;
    public static final int FILE_TRANSFER_FIAL = 3;
    public static final int THREE_SERVICE_FILE = 4;
    public static final int SERVER_EXCUTE_FAIL = 5;
    public static final int USER_OPERATION_ERROR = 6;
    public static final int RESOURCE_USED = 7; // 资源被占用

    //成功响应：
    public static final int SUCCESS_RESPONSE = 9999;

    //失败响应：
    public static final int FAILURE_RESPONSE = 1000;
}
